package com.xybbs.entity;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;


/**
 * users
 * @author 
 */
@Data
@JsonIgnoreProperties(value = { "handler" })
public class Users implements Serializable {
    /**
     * id
     */
    private Integer userId;

    @Override
	public String toString() {
		return "Users [userId=" + userId + ", userName=" + userName + ", userNick=" + userNick + ", userPassword="
				+ userPassword + ", tips=" + tips + ", userStatus=" + userStatus + ", userType=" + userType + "]";
	}

	/**
     * 用户�?
     */
    private String userName;

	private Integer tipId;

    /**
     * 用户昵称
     */
    private String userNick;

    /**
     * 密码
     */
    private String userPassword;
    private List<Tips> tips;

    
	/**
     * 状�?�，0正常�?1禁用�?2锁定
     */
    private Integer userStatus;

    /**
     * 用户类型�?0超级管理员，1，管理员�?2普�?�用�?
     */
    private Integer userType;

    private static final long serialVersionUID = 1L;

    

	public Users(String userName, String userNick, String userPassword) {
		super();
		this.userName = userName;
		this.userNick = userNick;
		this.userPassword = userPassword;
	}


}